#include"client.hpp"

int main()
{
    Client client;
    //client.OpenPipe();
    client.OpenPipeForWrite();
    std::string message;
    while(true){
        std::cout<<"Please input message:"<<std::endl;
        std::getline(std::cin,message); 
        client.WritePipe(message);
    }
    client.ClosePipe();
    return 0;   
}